package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JPasswordField;
import java.awt.Button;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class UsuarioCambiarContrasenia extends JFrame {

	private JPanel contentPane;
	private JPasswordField passwordField;
	private JPasswordField passwordField_1;
	private JPasswordField passwordField_2;

	/**
	 * Launch the application.
	 */
	/*public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UsuarioCambiarContrasena frame = new UsuarioCambiarContrasena();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public UsuarioCambiarContrasenia() {
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(145, 145, 323, 184);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblContraseaActual = new JLabel("Contrase\u00F1a actual");
		lblContraseaActual.setBounds(10, 31, 102, 14);
		contentPane.add(lblContraseaActual);
		
		JLabel lblNuevaContrasea = new JLabel("Nueva contrase\u00F1a");
		lblNuevaContrasea.setBounds(10, 56, 102, 14);
		contentPane.add(lblNuevaContrasea);
		
		JLabel lblRepitaNuevaContrasea = new JLabel("Repita nueva contrase\u00F1a");
		lblRepitaNuevaContrasea.setBounds(10, 81, 126, 14);
		contentPane.add(lblRepitaNuevaContrasea);
		
		passwordField = new JPasswordField();
		passwordField.setBounds(146, 81, 153, 20);
		contentPane.add(passwordField);
		
		passwordField_1 = new JPasswordField();
		passwordField_1.setBounds(146, 56, 153, 20);
		contentPane.add(passwordField_1);
		
		passwordField_2 = new JPasswordField();
		passwordField_2.setBounds(146, 31, 153, 20);
		contentPane.add(passwordField_2);
		
		Button button = new Button("Aceptar");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		button.setBounds(153, 114, 70, 22);
		contentPane.add(button);
		
		Button button_1 = new Button("Cancelar");
		button_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
			}
		});
		button_1.setBounds(229, 114, 70, 22);
		contentPane.add(button_1);
	}
}
